Russell,
I've had this problem before too and, to my knowledge at least, there is no
direct way to achieve this. Instead what I did was provide a handler for
the text box that handles the enter key. If the handler gets called, it
just forwards the processing to the image button's submit handler. This
solution isn't exactly the most elegant way, but it works.
Eric
"Russell" <la******@comcast.net> wrote in message
news:ez**************@TK2MSFTNGP10.phx.gbl...
I have a web page that i am using an image button as my submit button. The
code behind the button works, but when I click enter on the web page,
nothing happens. Can anybody tell me how to get my image button to act as
the default button on the form?
Thanks in advance
Russell